/***************************************************************************************************
 * 搜索项配置：
 * alias 挂载搜索接口对应字段
 * name 现在的搜索项提示
 * type 搜索项控件类型select（选择器）、input（输入框）、datetime（日期选择）、dialog（外部弹框）、tree（树形选择器）
 ***************************************************************************************************/

/**
 * 搜索 选择器配置
 */
export const INDEX_SEARCH_SELECT_OPTIONS_CONFIG = {

  status: [
    
    //状态(查询条件)
    {'value': null, 'label': '全部'},
    {'value': 'ENABLE', 'label': '通过'},
    {'value': 'DISABLE', 'label': '未审核'},
    {'value': 'REJECT', 'label': '未通过'}
  ],


}
/**
 * 搜索配置
 * @type {Array}
 */
export const INDEX_SEARCH_CONFIG = [

  {alias: 'name', name: '请输入名称', type: 'input'},
  // {alias: 'status', name: '请选择审核状态', type: 'select'},

]


  /***
   *  操作列配置
   * @type {Array}
   */
  const ACTION_SEARCH_OPTIONS = [
    {alias: 'show', name: '查看', type: 'primary'},
  ]




/***
 * 搜索结果列配置
 * @type {Array}
 */
export const JD_SHGL_INDEX_SEARCH_RESULT_ITEMS = [
  {alias: 'userId', name: '账号', width: '120px'},
  {alias: 'phone', name: '手机号', width: '120px'},

  {alias: 'merchantType', name: '商户类型', width: '120px',type:'tag'},
  {alias: 'userType', name: '用户类型', width: '150px',type:'tag'},
  {alias: 'identityStatus', name: '认证结果', width: '120px',type:'tag'},

  {alias:'op', name: '操作', width: '100px', type: 'action', options: ACTION_SEARCH_OPTIONS}
]

export const NZ_SHGL_INDEX_SEARCH_RESULT_ITEMS = [
  {alias: 'userId', name: '商户名称', width: '120px'},
  {alias: 'userType', name: '类型', width: '120px',type:'tag',type:'tag'},
  {alias: 'addr', name: '位置', width: '150px'},
  {alias: 'linkman', name: '联系人', width: '110px' },
  {alias: 'telephone', name: '联系电话', width: '110px'},
  {alias: 'signPhone', name: '签约手机', width: '150px'},
  {alias: 'identityStatus', name: '认证结果', width: '120px',type:'tag'},
  {alias:'op', name: '操作', width: '100px', type: 'action', options: ACTION_SEARCH_OPTIONS}
]

export const ZJF_SHGUL_INDEX_SEARCH_RESULT_ITEMS = [
  {alias: 'userName', name: '商户名称', width: '120px'},
  {alias: 'userType', name: '类型', width: '120px',type:'tag'},
  {alias: 'addr', name: '位置', width: '150px'},
  {alias: 'linkman', name: '联系人', width: '110px' },
  {alias: 'phone', name: '联系电话', width: '110px'},
  {alias: 'signPhone', name: '签约手机', width: '150px'},
  {alias: 'identityStatus', name: '认证结果', width: '120px',type:'tag'},
  {alias:'op', name: '操作', width: '100px', type: 'action', options: ACTION_SEARCH_OPTIONS}

]





